﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MissionEditor.EventUI
{
    public partial class Unknown6 : UserControl, IEventUI
    {
        Event activeEvent;
        public Unknown6(Event activeEvent)
        {
            this.activeEvent = activeEvent;
            InitializeComponent();

            unknown61TextBox.Text = activeEvent.raw[8].ToString();
            unknown62TextBox.Text = activeEvent.raw[15].ToString();
        }
        public void Apply()
        {
            activeEvent.raw[8] = Convert.ToByte(unknown61TextBox.Text);
            activeEvent.raw[15] = Convert.ToByte(unknown62TextBox.Text);
        }
    }
}
